<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div align="center">
	<table>
	<tr>
	<th>编号</th>
	<th>姓名</th>
	<th>日期</th>
	<th>操作</th>
	</tr>
	
	<s:iterator value="users"  status="status" >
		<tr>
			<td>	
			<s:property value="#status.count"/>
			</td>
		
			<td>	
			<s:property value="userName" />
			</td>
		
			<td>	
			<s:date name="birthday" format="yyyy-MM-dd" />
			</td>
			
			<td>
			<s:a action="UserAction_delete?id=%{#user.id}" namespace="/">删除</s:a>
			<s:a action="UserAction_edit?id=%{#user.id}" namespace="/">修改</s:a>
			</td>
			
		</tr>
	</s:iterator>
	</table>
	
	
	
	</div>

</body>
</html>